<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::ParticleGeneratorMultiResolution Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_particle_generator_multi_resolution.html">ParticleGeneratorMultiResolution</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_particle_generator_multi_resolution-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::ParticleGeneratorMultiResolution Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>generate multi-resolution particles from lattice positions for a body.  
 <a href="class_s_p_h_1_1_particle_generator_multi_resolution.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="particle__generator__lattice_8h_source.html">particle_generator_lattice.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_particle_generator_lattice.html">SPH::ParticleGeneratorLattice</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9cc193d5f1127acf3716a808a2b79631"><td class="memItemLeft" align="right" valign="top"><a id="a9cc193d5f1127acf3716a808a2b79631"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ParticleGeneratorMultiResolution</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:a9cc193d5f1127acf3716a808a2b79631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_particle_generator_lattice"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_particle_generator_lattice')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_particle_generator_lattice.html">SPH::ParticleGeneratorLattice</a></td></tr>
<tr class="memitem:a0e02e42716cb3bd346e59465b46071db inherit pub_methods_class_s_p_h_1_1_particle_generator_lattice"><td class="memItemLeft" align="right" valign="top"><a id="a0e02e42716cb3bd346e59465b46071db"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ParticleGeneratorLattice</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:a0e02e42716cb3bd346e59465b46071db inherit pub_methods_class_s_p_h_1_1_particle_generator_lattice"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbdf8fe614cf582df68166e13d970476 inherit pub_methods_class_s_p_h_1_1_particle_generator_lattice"><td class="memItemLeft" align="right" valign="top"><a id="acbdf8fe614cf582df68166e13d970476"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeGeometricVariables</b> () override</td></tr>
<tr class="separator:acbdf8fe614cf582df68166e13d970476 inherit pub_methods_class_s_p_h_1_1_particle_generator_lattice"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_particle_generator_lattice"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_particle_generator_lattice')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_particle_generator_lattice.html">SPH::BaseParticleGeneratorLattice</a></td></tr>
<tr class="memitem:ac34aee296b66ec339aa100c61ff0e0a9 inherit pub_methods_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memItemLeft" align="right" valign="top"><a id="ac34aee296b66ec339aa100c61ff0e0a9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseParticleGeneratorLattice</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:ac34aee296b66ec339aa100c61ff0e0a9 inherit pub_methods_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_particle_generator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_particle_generator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_particle_generator.html">SPH::ParticleGenerator</a></td></tr>
<tr class="memitem:a0ca2e660044ac5489a0c0273cd2acc3b inherit pub_methods_class_s_p_h_1_1_particle_generator"><td class="memItemLeft" align="right" valign="top"><a id="a0ca2e660044ac5489a0c0273cd2acc3b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ParticleGenerator</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:a0ca2e660044ac5489a0c0273cd2acc3b inherit pub_methods_class_s_p_h_1_1_particle_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_particle_generator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_particle_generator')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_particle_generator.html">SPH::BaseParticleGenerator</a></td></tr>
<tr class="memitem:ab50b7b249c6cbac9eaa4c99b4113f854 inherit pub_methods_class_s_p_h_1_1_base_particle_generator"><td class="memItemLeft" align="right" valign="top"><a id="ab50b7b249c6cbac9eaa4c99b4113f854"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BaseParticleGenerator</b> (<a class="el" href="class_s_p_h_1_1_s_p_h_body.html">SPHBody</a> &amp;sph_body)</td></tr>
<tr class="separator:ab50b7b249c6cbac9eaa4c99b4113f854 inherit pub_methods_class_s_p_h_1_1_base_particle_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a3ffea13367c735468e9b520028e49d4c"><td class="memItemLeft" align="right" valign="top"><a id="a3ffea13367c735468e9b520028e49d4c"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>initializePositionAndVolumetricMeasure</b> (const Vecd &amp;position, Real volume) override</td></tr>
<tr class="separator:a3ffea13367c735468e9b520028e49d4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd955201f1d9edac68fd938c1be12579"><td class="memItemLeft" align="right" valign="top"><a id="abd955201f1d9edac68fd938c1be12579"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeSmoothingLengthRatio</b> (Real local_spacing)</td></tr>
<tr class="separator:abd955201f1d9edac68fd938c1be12579"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_s_p_h_1_1_base_particle_generator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_s_p_h_1_1_base_particle_generator')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_particle_generator.html">SPH::BaseParticleGenerator</a></td></tr>
<tr class="memitem:a316aa1588ee0c05ae4883d121447fa66 inherit pro_methods_class_s_p_h_1_1_base_particle_generator"><td class="memItemLeft" align="right" valign="top"><a id="a316aa1588ee0c05ae4883d121447fa66"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>initializePosition</b> (const Vecd &amp;position)</td></tr>
<tr class="separator:a316aa1588ee0c05ae4883d121447fa66 inherit pro_methods_class_s_p_h_1_1_base_particle_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab823ea30e8087796050591886a8354f8"><td class="memItemLeft" align="right" valign="top"><a id="ab823ea30e8087796050591886a8354f8"></a>
<a class="el" href="class_s_p_h_1_1_particle_spacing_by_body_shape.html">ParticleSpacingByBodyShape</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>particle_adaptation_</b></td></tr>
<tr class="separator:ab823ea30e8087796050591886a8354f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14b5a67607cebf6f2e71d212f47bbb1d"><td class="memItemLeft" align="right" valign="top"><a id="a14b5a67607cebf6f2e71d212f47bbb1d"></a>
StdLargeVec&lt; Real &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>h_ratio_</b></td></tr>
<tr class="separator:a14b5a67607cebf6f2e71d212f47bbb1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_particle_generator_lattice.html">SPH::BaseParticleGeneratorLattice</a></td></tr>
<tr class="memitem:a7e30a4e620539d185c4822f66c85fed8 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memItemLeft" align="right" valign="top"><a id="a7e30a4e620539d185c4822f66c85fed8"></a>
Real&#160;</td><td class="memItemRight" valign="bottom"><b>lattice_spacing_</b></td></tr>
<tr class="separator:a7e30a4e620539d185c4822f66c85fed8 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e10c07d16796237cbf2f9646afab173 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memItemLeft" align="right" valign="top"><a id="a3e10c07d16796237cbf2f9646afab173"></a>
<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>domain_bounds_</b></td></tr>
<tr class="separator:a3e10c07d16796237cbf2f9646afab173 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5541a890d417aff60b532cdc8ac9ebe7 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memItemLeft" align="right" valign="top"><a id="a5541a890d417aff60b532cdc8ac9ebe7"></a>
<a class="el" href="class_s_p_h_1_1_shape.html">Shape</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>body_shape_</b></td></tr>
<tr class="separator:a5541a890d417aff60b532cdc8ac9ebe7 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator_lattice"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_particle_generator"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_particle_generator')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_particle_generator.html">SPH::ParticleGenerator</a></td></tr>
<tr class="memitem:a548de961f4d4fa23bca7fda34fb20ef8 inherit pro_attribs_class_s_p_h_1_1_particle_generator"><td class="memItemLeft" align="right" valign="top">StdLargeVec&lt; Real &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_particle_generator.html#a548de961f4d4fa23bca7fda34fb20ef8">Vol_</a></td></tr>
<tr class="separator:a548de961f4d4fa23bca7fda34fb20ef8 inherit pro_attribs_class_s_p_h_1_1_particle_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_s_p_h_1_1_base_particle_generator"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_s_p_h_1_1_base_particle_generator')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_particle_generator.html">SPH::BaseParticleGenerator</a></td></tr>
<tr class="memitem:a44a78d659d03cfa2d69c74c7829317ee inherit pro_attribs_class_s_p_h_1_1_base_particle_generator"><td class="memItemLeft" align="right" valign="top"><a id="a44a78d659d03cfa2d69c74c7829317ee"></a>
<a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>base_particles_</b></td></tr>
<tr class="separator:a44a78d659d03cfa2d69c74c7829317ee inherit pro_attribs_class_s_p_h_1_1_base_particle_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2c0294fe0f909b183f149a29a5e0f55 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator"><td class="memItemLeft" align="right" valign="top">StdLargeVec&lt; Vecd &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particle_generator.html#aa2c0294fe0f909b183f149a29a5e0f55">pos_</a></td></tr>
<tr class="separator:aa2c0294fe0f909b183f149a29a5e0f55 inherit pro_attribs_class_s_p_h_1_1_base_particle_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab06e153830961518508b913ba6915d8a inherit pro_attribs_class_s_p_h_1_1_base_particle_generator"><td class="memItemLeft" align="right" valign="top">StdLargeVec&lt; <a class="el" href="classsize__t.html">size_t</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_particle_generator.html#ab06e153830961518508b913ba6915d8a">unsorted_id_</a></td></tr>
<tr class="separator:ab06e153830961518508b913ba6915d8a inherit pro_attribs_class_s_p_h_1_1_base_particle_generator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>generate multi-resolution particles from lattice positions for a body. </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/shared/particle_generator/<a class="el" href="particle__generator__lattice_8h_source.html">particle_generator_lattice.h</a></li>
<li>SPHINXsys/src/shared/particle_generator/<a class="el" href="particle__generator__lattice_8cpp.html">particle_generator_lattice.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
